<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Formulario nueva mascota</title>
</head>
<body>
	<h1>Formulario nueva mascota</h1>
	<br/>
	<fieldset>
		<legend>Nueva mascota</legend>
		<form:form modelAttribute="nuevamascota" action="mascotas" method="POST">
			<p>
					<form:label	for="nombre" path="nombre" cssErrorClass="error">Nombre</form:label><br/>
					<form:input path="nombre" /> <form:errors path="nombre" />			
			</p>
			<p>	
					<form:label for="raza" path="raza" cssErrorClass="error">Raza</form:label><br/>
					<form:input path="raza" /> <form:errors path="raza" />
			</p>
			<input type="submit"/>
		</form:form>
	</fieldset>
</body>
</html>